package com.party.core.service.mall;

import com.party.common.paging.Page;
import com.party.core.model.mall.MallCategorySiftSpec;
import com.party.core.model.mall.MallSpec;
import com.party.core.service.IBaseService;

import java.util.List;
import java.util.Map;

/**
 * 商城规格服务接口
 * Created by wei.li
 *
 * @date 2017/8/15 0015
 * @time 16:51
 */
public interface IMallSpecService extends IBaseService<MallSpec> {
    List<MallSpec> webListPage(MallSpec spec, Map<String, Object> params, Page page);

    List<MallSpec> findByCategoryId(String categoryId);

    List<MallSpec> findByName(String name);

    List<MallCategorySiftSpec> findSpecWithValues(String categoryId);
}
